import { danmakuSource } from '../../danmaku/danmakuSource';

export default class grpcResult {
  constructor(code: number, message: string, result?: danmakuSource) {
    this.code = code;
    this.message = message;
    this.result = result;
  }

  code: number;
  message: string;
  result?: danmakuSource;
}